/*
 * Vehicle.h
 *
 *  Created on: Aug 25, 2009
 *      Author: Thada Pipatcharoenkij 49270325
 */

#ifndef VEHICLE_H_
#define VEHICLE_H_

#include <string>
#include "Person.h"

using namespace std;

/**
 * Vehicle class contains manufacturer name, number of cylinders, and owner
 */
class Vehicle {

public:
	Vehicle();
	Vehicle(string manufacturer, int cylinders, const Person &owner);
	Vehicle(const Vehicle& vehicle);
	virtual ~Vehicle();
	int getCylinders() const;
	string getManufacturer() const;
	Person getOwner() const;
	void setCylinders(int cylinders);
	void setManufacturer(string manufacturer);
	void setOwner(const Person & owner);

protected:
	/**Manufacturer name*/
	string manufacturer;
	/**Number of cylinders in engine*/
	int cylinders;
	/**Owner of the vehicle*/
	Person owner;
};

#endif /* VEHICLE_H_ */
